package com.hl.service;

import com.hl.pojo.Answers;
import com.hl.pojo.Users;

import java.util.List;

public interface WodehuidaService {
    List<Answers> getAnswers(Integer id);
//   查询全部内容
    List<Answers> AnswersListAll(String userName,String answerContent);
//    删除指定行
    int deleteAnswers(Integer id);
//    新增
    int addAnswers(Answers answers);

    List<Users> searchUserList();

    int updateUserAndAnswer(Answers answers);

    int updateUser(Users users);


}
